package com.wish.renting;

import com.wish.common.security.annotation.EnableCustomConfig;
import com.wish.common.security.annotation.EnableRyFeignClients;
import com.wish.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.ComponentScan;

@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@ComponentScan(basePackages = {"com.wish.base","com.wish.renting"})
public class WishRentingApplication {

    public static void main(String[] args) {
        System.out.println("(♥◠‿◠)ﾉﾞ  收房服务模块启动成功   ლ(´ڡ`ლ)ﾞ  \n");
        SpringApplication.run(WishRentingApplication.class, args);
    }

}
